package com.xyh.pool;

public class ObjectPoolTest {
    public static void main(String[] args) throws Exception {
        ObjectPool objPool = new ObjectPool();
        objPool.createPool();
        Object obj = objPool.getObject();
        System.out.print(obj);
        objPool.returnObject(obj);
        objPool.closeObjectPool();
    }
}
